package cn.lhx.blog.service;

import java.io.Serializable;
import java.util.List;

import cn.lhx.blog.pojo.GuestMessage;

public interface GusetBookService {

	/**
	 * 保存留言
	 * @param m
	 * @return
	 */
	public abstract GuestMessage saveMessage(GuestMessage m);

	/**
	 * 删除留言
	 * @param m
	 * @return
	 */
	public abstract GuestMessage delMessage(Serializable id);

	/**
	 *  获得留言
	 * @param begin
	 * @param size
	 * @return
	 */
	public abstract List<GuestMessage> getMessages(int begin, int size);

}